import request from '@/utils/request'

// 查询视频解析列表
export function listVideoAnalysis(query) {
  return request({
    url: '/video/VideoAnalysis/list',
    method: 'get',
    params: query
  })
}

// 查询视频解析详细
export function getVideoAnalysis(id) {
  return request({
    url: '/video/VideoAnalysis/' + id,
    method: 'get'
  })
}

// 新增视频解析
export function addVideoAnalysis(data) {
  return request({
    url: '/video/VideoAnalysis',
    method: 'post',
    data: data
  })
}

// 修改视频解析
export function updateVideoAnalysis(data) {
  return request({
    url: '/video/VideoAnalysis',
    method: 'put',
    data: data
  })
}

// 删除视频解析
export function delVideoAnalysis(id) {
  return request({
    url: '/video/VideoAnalysis/' + id,
    method: 'delete'
  })
}
